package com.baizhi.bzmall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@TableName("bz_role_resource")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BzRoleResource implements Serializable {
    @TableId(type = IdType.AUTO)
    private int id;
    private Integer roleId;
    private Integer resourceId;
}
